package com.cloud.logger.zchain.zchainserver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * User: wcy
 * Date: 2017/10/30
 * Time: 15:17
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "spring.data.mongo")
public class MongoDbProperties {
    private String host;
    private int port;
    private String database;
}
